package com.hbzhit.modules.sys.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hbzhit.common.utils.PageUtils;
import com.hbzhit.modules.sys.vo.ProInfoVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.hbzhit.modules.sys.entity.ProEntity;

import java.util.List;
import java.util.Map;

/**
 * @author qq
 * @date 2022-04-22 16:15:46
 */
@Mapper
@Repository
public interface ProDao extends BaseMapper<ProEntity> {
    IPage<Map<String,Object>> selectPageBy(Page page, @Param(Constants.WRAPPER) QueryWrapper wrapper);

    ProInfoVO selectProInfo(@Param("proId") Long proId);
}
